<div class="pager-container" v-if="pageNumber > 1">
  <a @click="handleClick(1)" :class="{ disabled: current === 1 }">首页</a>
  <a @click="handleClick(current - 1)" :class="{ disabled: current === 1 }">
    <i class="el-icon-arrow-left"></i>
  </a>

  <a @click="handleClick(n)" v-for="(n, i) in numbers" :key="i" :class="{ active: n == current }">{{ n }}</a>
  <a @click="handleClick(current + 1)">
    <i class="el-icon-arrow-right"></i>
  </a>
  <a @click="handleClick(pageNumber)" :class="{ disabled: current == pageNumber }">尾页</a>
</div>